package org.fhm.zdte.client.service;


import org.fhm.zdte.common.pojo.Address;
import org.fhm.zdte.common.service.boot.AbstractStarter;

/**
 * The abstract implementation for {@link AbstractStarter} as the starter of the client side.
 *
 * @author 谭波
 * @since 2023/11/17
 */
public abstract class AbstractClientStarter extends AbstractStarter {

    /**
     * Determine myself whether is refuse to connect.
     *
     * @param isa       Connector address object.
     * @param secretKey Connector secret key.
     * @return <b>true</b> means refuse to connect, <b>false</b> means allow connecting.
     */
    public abstract boolean isRefuseConnect(Address isa, String secretKey);

}
